package com.shop.admin.vo;

import com.shop.admin.entity.ShopAdmin;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SchoolOrgAdminStreamVo {
    private Integer id;
    private String schoolName;
    private List<SchoolOrgAdminVo.OrgAdminVo> orgAdminVos;

    @Data
    public static class OrgAdminVo{
        private Integer orgId;
        private Integer fatherId;
        private String orgName;
        private List<ShopAdmins> shopAdmin;

        @Data
        public static class ShopAdmins{
            private Integer adminId;
            private String adminName;
            private Integer orgId;
        }
    }

}
